package com.ctbu.tourism.service;import com.ctbu.tourism.api.MenuAPI;import com.ctbu.tourism.entity.Menu;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.stereotype.Service;import java.util.ArrayList;import java.util.List;/** * @author wanglinli * at 18-4-10 下午9:14 * 注释: */@Servicepublic class MenuService {    @Autowired    private MenuAPI menuAPI;    public ArrayList<Menu> getMenuByRoleID(Integer id) {        return menuAPI.getMenuByRoleID(id);    }    public ArrayList<String> getMenuUrlByRoleId(Integer id) {        return menuAPI.getMenuUrlByRoleID(id);    }    public List<Menu> getMenuRoleFirst(){return menuAPI.getMenuRoleFirst();}}